home *** CD-ROM | disk | FTP | other *** search
/ Professional Soft Collection 1.02 / Professional Soft Collection 1.02.iso / nc30 / chkmail.bat < prev    next >
DOS Batch File  |  1989-10-23  |  342b  |  16 lines

  1. echo off
  2. rem    This batch file checks for and sends any outgoing MCI mail
  3. mcidrivr /n
  4. :waitgo
  5. mcidrivr /s
  6. rem    Loop until communications starts up
  7. if errorlevel 1 goto waitstop
  8. goto waitgo
  9. :waitstop
  10. mcidrivr /s
  11. rem    Loop until communications done
  12. if errorlevel 1 goto waitstop
  13. :remove
  14. rem    Remove the driver from memory
  15. mcidrivr /x
  16.